<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Start_station')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-start_station" data-rule="required"  data-source="car/site/index" class="form-control selectpage"  data-init='{$row.start_station}' name="row[start_station]" type="text" data-field="name">
            <!--<input id="c-start_station" class="form-control" name="row[start_station]" type="text" value="{$row.start_station}">-->
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('End_station')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-end_station" data-rule="required"  data-source="car/site/index" class="form-control selectpage"  data-init='{$row.end_station}'  name="row[end_station]" type="text" data-field="name">
            <!--<input id="c-end_station" class="form-control" name="row[end_station]" type="text" value="{$row.end_station}">-->
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('List')}:</label>
        <div class="col-xs-12 col-sm-8">

            <!--{:Form::selectpages('row[list]', '100', 'car/site/index', 'name','id',['data-rule'=>'required'])}-->
            <input id="c-list" data-rule="" data-multiple="true" data-source="car/site/index" class="form-control selectpage" data-init='{$row.list}' name="row[list]" type="text" data-field="name">
            <!--{:Form::fieldlist('row[list]', $row['list'], null, '', ['data-rule'=>'required'])}-->
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Mileage')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-mileage" class="form-control" name="row[mileage]" type="text" value="{$row.mileage}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Duration')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-duration" class="form-control" name="row[duration]" type="text" value="{$row.duration}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Run_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-run_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[run_time]" type="text" value="{$row.run_time|datetime}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
